/**
 * www.lifexx.com Inc.
 * Copyright (c) 2014 All Rights Reserved.
 */
package net.mikoo.seals.boss.model;

import java.util.List;

import net.mikoo.seals.boss.common.BaseModel;

/**
 * 
 * @Filename Geo.java
 *
 * @Description
 *
 * @Version 1.0
 *
 * @Author huangxiaoming
 *
 * @Email huangxm129@163.com
 * 
 * @History <li>Author: huangxiaoming</li> <li>Date: 2014年12月2日</li> <li>
 *          Version: 1.0</li> <li>Content: create</li>
 *
 */
public class Geo extends BaseModel {
	/**
	 * 
	 */
	private static final long serialVersionUID = 7090671103072825893L;
	/** id */
	private Long geoId;

	/** 国家，省，市/区，县，镇 */
	private String geoType;

	/** 区域名称 */
	private String geoName;

	/** 区域代码 */
	private String geoCode;

	/** 简称 */
	private String abbreviation;

	/** 邮编 */
	private String postalCode;

	/** 区号 */
	private String telCode;

	/** 纬度 */
	private Double latitude;

	/** 经度 */
	private Double longitude;

	/** 简介 */
	private String description;

	/** 排序 */
	private Integer sequence;

	/** 是否启用 */
	private String isEnable;
	
	private Long parentId;
	
	private List<Geo> childs;
	
	private String batchDatas;

	/**
	 * 构造方法
	 */
	public Geo() {
	}

	public Long getGeoId() {
		return geoId;
	}

	public void setGeoId(Long geoId) {
		this.geoId = geoId;
	}

	public String getGeoType() {
		return geoType;
	}

	public void setGeoType(String geoType) {
		this.geoType = geoType;
	}

	public String getGeoName() {
		return geoName;
	}

	public void setGeoName(String geoName) {
		this.geoName = geoName;
	}

	public String getGeoCode() {
		return geoCode;
	}

	public void setGeoCode(String geoCode) {
		this.geoCode = geoCode;
	}

	public String getAbbreviation() {
		return abbreviation;
	}

	public void setAbbreviation(String abbreviation) {
		this.abbreviation = abbreviation;
	}

	public String getPostalCode() {
		return postalCode;
	}

	public void setPostalCode(String postalCode) {
		this.postalCode = postalCode;
	}

	public String getTelCode() {
		return telCode;
	}

	public void setTelCode(String telCode) {
		this.telCode = telCode;
	}

	public Double getLatitude() {
		return latitude;
	}

	public void setLatitude(Double latitude) {
		this.latitude = latitude;
	}

	public Double getLongitude() {
		return longitude;
	}

	public void setLongitude(Double longitude) {
		this.longitude = longitude;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Integer getSequence() {
		return sequence;
	}

	public void setSequence(Integer sequence) {
		this.sequence = sequence;
	}

	public String getIsEnable() {
		return isEnable;
	}

	public void setIsEnable(String isEnable) {
		this.isEnable = isEnable;
	}

	
	public List<Geo> getChilds() {
		return childs;
	}

	public void setChilds(List<Geo> childs) {
		this.childs = childs;
	}

	public Long getParentId() {
		return parentId;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}
	
	

	public String getBatchDatas() {
		return batchDatas;
	}

	public void setBatchDatas(String batchDatas) {
		this.batchDatas = batchDatas;
	}

	@Override
	public String toString() {
		return "Geo [geoId=" + geoId + ", geoType=" + geoType + ", geoName="
				+ geoName + ", geoCode=" + geoCode + ", abbreviation="
				+ abbreviation + ", postalCode=" + postalCode + ", telCode="
				+ telCode + ", latitude=" + latitude + ", longitude="
				+ longitude + ", description=" + description + ", sequence="
				+ sequence + ", isEnable=" + isEnable + "]";
	}
}